package com.jindy.module.warningOrderView.domain;

import com.jindy.common.annotation.Excel;
import lombok.Data;

import java.math.BigDecimal;
import java.util.StringJoiner;

/**
 * @author yqq
 * @date 2023/6/13
 * @Description
 */
@Data
public class WarningOrderViewVO {
    private static final long serialVersionUID = 1L;

    /** 业务员名称 */
    @Excel(name = "业务员名称")
    private String salesmanName;

    /** 项目地区域 */
    @Excel(name = "项目地区域")
    private String projectArea;

    /** 客户名称 */
    @Excel(name = "客户名称")
    private String customerName;

    /** 订单编号 */
    @Excel(name = "订单编号")
    private String orderNo;

    /** 使用天数 */
    @Excel(name = "使用天数")
    private Long days;

    /** 此机器本次日租金 */
    @Excel(name = "此机器本次日租金")
    private BigDecimal dailyRent;

    /** 实际租金合计 */
    @Excel(name = "实际租金合计")
    private BigDecimal actualDailyRent;

    /** 已收金额 */
    @Excel(name = "已收金额")
    private BigDecimal receivedAmount;

    /** 日租金合计 */
    @Excel(name = "日租金合计")
    private BigDecimal totalDailyRent;

    /** 押金剩余天数 */
    @Excel(name = "押金剩余天数")
    private Integer daysDeposit;

    /**
     * 逾期金额
     */
    @Excel(name = "逾期金额")
    private BigDecimal overdueAmount;

    @Override
    public String toString() {
        return new StringJoiner(", ", WarningOrderViewVO.class.getSimpleName() + "[", "]")
                .add("salesmanName='" + salesmanName + "'")
                .add("projectArea='" + projectArea + "'")
                .add("customerName='" + customerName + "'")
                .add("orderNo='" + orderNo + "'")
                .add("days=" + days)
                .add("dailyRent=" + dailyRent)
                .add("actualDailyRent=" + actualDailyRent)
                .add("receivedAmount=" + receivedAmount)
                .add("totalDailyRent=" + totalDailyRent)
                .add("daysDeposit=" + daysDeposit)
                .toString();
    }
}
